from enums import CodedEnum, DictEnum


@DictEnum(key="sys_menu_type", name="菜单类型")
class MenuTypeEnum(CodedEnum):
    """
    菜单类型
    """

    DIR = (1, "目录")
    MENU = (2, "菜单")
    BUTTON = (3, "按钮")
    INTERFACE = (4, "接口")
